import Foundation
import HareMacro

class A: PropertyDelegate {

    init() {}

    func getProperty(obj: Any?, key: String) -> Any? {
        return key + ":OK"
    }

    func setProperty(obj: Any?, key: String, value: Any?) {

    }

    @PropStore 
    public var age:Int?

    @PropDelegate(target: self, miss: "yang")
    public var name: String

}

let a = A()
print(a.name)
a.name = "entao"
print(a.name)
